package com.project.slsx.activity;

import android.graphics.Color;
import com.project.slsx.R;
import org.angmarch.views.NiceSpinner;

import java.util.ArrayList;

public class StorageUpActivity extends BaseActivity {
    @Override
    public int getLayoutId() {
        return R.layout.activity_storage_up;
    }

    @Override
    public void initView() {

        NiceSpinner ns1 = findViewById(R.id.ns1);
        NiceSpinner ns2 = findViewById(R.id.ns2);


        ArrayList<String> list = new ArrayList<>();
        list.add("零食饮料");
        list.add("零食饮料1");

        ns1.attachDataSource(list);
        ns1.setTextColor(Color.BLACK);
        ns1.setBackground(getResources().getDrawable(R.drawable.bg_ed_login_corners_10));
        ns1.setTextSize(10);

        ns2.attachDataSource(list);
        ns2.setTextColor(Color.BLACK);
        ns2.setBackground(getResources().getDrawable(R.drawable.bg_ed_login_corners_10));
        ns2.setTextSize(10);

    }

    @Override
    public void initData() {

    }
}
